package com.cuijq.ms.flyweight.v2;

/**
 * @author by CuiJQ
 * @Classname ChessPiece
 * @Description ChessPiece Description
 * @Date 2021/5/27 0:00
 */
public class ChessPiece {

  private ChessPieceUnit chessPieceUnit;
  private int positionX;
  private int positionY;

  public ChessPiece(ChessPieceUnit unit, int positionX, int positionY) {
    this.chessPieceUnit = unit;
    this.positionX = positionX;
    this.positionY = positionY;
  }
}
